package com.epam.rentcar.transferobjects;

public class CarRequest {

	private int id;
	private User user; 
	private String name;
	private String passport;
	private Car car;
	private int rentDuration;
	private String cancellationPurpose;
	private String billPurpose;

	public CarRequest(int id, User user, String name, String passport,
			Car car, int rentDuration, int payed, int cancelledByAdmin,
			int approveByAdmin, String cancellationPurpose, String billPurpose){

		this.id = id;
		this.user = user;
		this.name = name;
		this.passport = passport;
		this.car = car;
		this.rentDuration = rentDuration;
		this.cancellationPurpose = cancellationPurpose;
		this.billPurpose = billPurpose;
	}

	public int getID() {
		return id;
	}
	
	public User getUser() {
		return user;
	}
	
	public String getName() {
		return name;
	}

	public String getPassport() {
		return passport;
	}
	public Car getCar() {
		return car;
	}

	public int getRentDuration() {
		return rentDuration;
	}

	public String getCancellationPurpose() {
		return cancellationPurpose;
	}

	public String getBillPurpose() {
		return billPurpose;
	}
	
}
